package org.ykh.gmall.item;


import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;
import org.ykh.gmall.product.BaseCategoryView;
import org.ykh.gmall.product.SkuInfo;
import org.ykh.gmall.product.SpuPoster;
import org.ykh.gmall.product.SpuSaleAttr;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
public class ItemVo {

    @SchemaProperty(name = "sku信息")
    private SkuInfo skuInfo;
    @SchemaProperty(name = "分类信息")
    private BaseCategoryView categoryView;
    @SchemaProperty(name = "spu销售属性")
    private List<SpuSaleAttr> spuSaleAttrList;
    @SchemaProperty(name = "spu海报数据")
    private List<SpuPoster> spuPosterList;
    @SchemaProperty(name = "sku平台属性")
    private List<Map<String, String>> skuAttrList;
    @SchemaProperty(name = "切换数据")
    private String namesSkuJson;
    @SchemaProperty(name = "最新价格")
    private BigDecimal skuPrice;

}
